/api/user/tags/:id

View, update, or delete a specific tag owned by the currently authenticated user.

Info

This endpoint requires authentication.

Path Parameters

NameTypeDescription
idstringThe unique ID of the tag

GET
Request

Get a specific tag by its ID.

Response

Status: 200 OK

Content-Type: application/json

A Tag object.

PATCH
Request

Update a specific tag.

Body

Content-Type: application/json

PropertyTypeDescription
namestringName for the tag.
colorstringColor for the tag (HEX).

Response

Status: 200 OK

Content-Type: application/json

A Tag object.

Error Responses

  • 400 Bad Request

    The new name is already in use

DELETE
Request

Delete a specific tag.

Response

Status: 200 OK

Content-Type: application/json

A Tag object representing the deleted tag.

Error Responses

  • 404 Not Found

    If the tag with the specified ID does not exist, or is not owned by the user.



Last updated: 5/30/2025
Edit this page on GitHub